package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.SKmFee;
import cn.huiyunche.base.service.vo.SOrderFeeDetailVo;

import java.math.BigDecimal;
import java.util.List;

/**
 * The interface S km fee service.
 *
 * @FileName: cn.huiyunche.app.service.interfaces
 * @Description: 同城配送里程费
 * @author: Aaron
 * @date: 2016 /11/16 下午3:41
 */
public interface SKmFeeService {

    /**
     * Gets list.
     *
     * @param areaCode the area code
     * @param endRange the end range
     * @return the list
     */
    List<SKmFee> getList(String areaCode, BigDecimal endRange);

    /**
     * Query km fee s order fee detail vo.
     *
     * @param areaCode the area code
     * @param distance the distance
     * @return the s order fee detail vo
     */
    SOrderFeeDetailVo queryKmFee(String areaCode, BigDecimal distance);
}
